<%--
  Created by IntelliJ IDEA.
  User: 小星打屁屁
  Date: 2015/4/11
  Time: 21:23
  To change this template use File | Settings | File Templates.
  contact me 243709758@qq.com
--%>
<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>标签新增页面</title>
   <%
     String ctx =  pageContext.getRequest().getServletContext().getContextPath();
     request.setAttribute("ctx",ctx);
    %>
    <link href="${ctx}/css/mycss.css" rel="stylesheet">
    <link href="${ctx}/css/bootstrap.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/css/bootstrap-theme.css" rel="stylesheet">
    <script charset="utf-8" src="<%=request.getContextPath() %>/kindeditor-4.1/kindeditor.js" type="text/javascript"></script>
    <script charset="utf-8" src="<%=request.getContextPath() %>/kindeditor-4.1/lang/zh_CN.js" type="text/javascript"></script>
    <script charset="utf-8" src="<%=request.getContextPath() %>/js/jquery-2.1.1.js" type="text/javascript"></script>
    <!-- DC iMenu CSS -->
    <link type="text/css" rel="stylesheet" href="../../styles/blog/menus/imenu/css/dc_imenu.css" />

</head>
<body class="container" >
<div class="head">
    <%@ include file="/jsp/admin/lib/admin_head.jsp"%>
</div>
<div class="nav">
    <%@ include file="/jsp/admin/lib/admin_nav.jsp"%>
    <hr>
</div>
<div class="row">
    <!-- 隔壁的一些框框 侧边栏 -->
    <div class="sidebar-offcanvas col-xs-2" id="sidemenu"> <!-- sidebar-offcanvas -->
        <%@ include  file="/jsp/admin/lib/admin_contentsider.jsp" %>
    </div>
    <div class="col-sm-8 blog-main"> <!--  col-md-6 -->
        <br/>
        <ol class="breadcrumb">
            <li class="active"><a href="#"><span class="glyphicon glyphicon-home"></span></a>
            </li>
        </ol>
        <div class="content">
            <div class="panel panel-default">
                <div class="panel-body">
                  <h3>tag wall:</h3>
                    <div class="well">
                        <div class="well">
                            <ol>
                                <c:forEach items="${ tagList }" var="tag" varStatus="itemStatus">
                                    <li><c:out value="${ tag.name }"/></li>
                                </c:forEach>
                            </ol>
                        </div>
                    </div>
                    <br/>
                    <form action="tag_add"  role="form" method="post" class="form-horizontal" name="form" id="form">
                        <div class="form-group">
                            <label for="name" class="col-md-3 control-label">标签名称：</label>
                            <div class="col-md-6">
                                <input id="name" name="name"  class="form-control" placeholder="name" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="description" class="col-md-3 control-label">分类描述：</label>
                            <div class="col-md-6">
                                <input id="description" name="description"  class="form-control" placeholder="description" />
                            </div>
                        </div>
                        <div class="form-group">
                            <button class="btn btn-default col-md-1 col-md-offset-5" type="button" onclick="javascript:submit()">更新</button>
                        </div>

                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
   ${hello};
</body>
</html>
